﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E13 RID: 3603
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ReplayInfo : IMessage<ReplayInfo>, IMessage, IEquatable<ReplayInfo>, IDeepCloneable<ReplayInfo>, IBufferMessage
	{
		// Token: 0x17002DCE RID: 11726
		// (get) Token: 0x0600A1D6 RID: 41430 RVA: 0x001B10B9 File Offset: 0x001AF2B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ReplayInfo> Parser
		{
			get
			{
				return ReplayInfo._parser;
			}
		}

		// Token: 0x17002DCF RID: 11727
		// (get) Token: 0x0600A1D7 RID: 41431 RVA: 0x001B10C0 File Offset: 0x001AF2C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ReplayInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002DD0 RID: 11728
		// (get) Token: 0x0600A1D8 RID: 41432 RVA: 0x001B10D2 File Offset: 0x001AF2D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ReplayInfo.Descriptor;
			}
		}

		// Token: 0x0600A1D9 RID: 41433 RVA: 0x001B10D9 File Offset: 0x001AF2D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReplayInfo()
		{
		}

		// Token: 0x0600A1DA RID: 41434 RVA: 0x001B10F8 File Offset: 0x001AF2F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReplayInfo(ReplayInfo other) : this()
		{
			this.aIMNHIOBLEF_ = other.aIMNHIOBLEF_;
			this.replayType_ = other.replayType_;
			this.stageId_ = other.stageId_;
			this.uid_ = other.uid_;
			this.nickname_ = other.nickname_;
			this.headIcon_ = other.headIcon_;
			this.replayName_ = other.replayName_;
			this.createTime_ = other.createTime_;
			this.gCPFDFINJFM_ = other.gCPFDFINJFM_;
			this.kMEAPHPPMMN_ = other.kMEAPHPPMMN_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A1DB RID: 41435 RVA: 0x001B1194 File Offset: 0x001AF394
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReplayInfo Clone()
		{
			return new ReplayInfo(this);
		}

		// Token: 0x17002DD1 RID: 11729
		// (get) Token: 0x0600A1DC RID: 41436 RVA: 0x001B119C File Offset: 0x001AF39C
		// (set) Token: 0x0600A1DD RID: 41437 RVA: 0x001B11A4 File Offset: 0x001AF3A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong AIMNHIOBLEF
		{
			get
			{
				return this.aIMNHIOBLEF_;
			}
			set
			{
				this.aIMNHIOBLEF_ = value;
			}
		}

		// Token: 0x17002DD2 RID: 11730
		// (get) Token: 0x0600A1DE RID: 41438 RVA: 0x001B11AD File Offset: 0x001AF3AD
		// (set) Token: 0x0600A1DF RID: 41439 RVA: 0x001B11B5 File Offset: 0x001AF3B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReplayType ReplayType
		{
			get
			{
				return this.replayType_;
			}
			set
			{
				this.replayType_ = value;
			}
		}

		// Token: 0x17002DD3 RID: 11731
		// (get) Token: 0x0600A1E0 RID: 41440 RVA: 0x001B11BE File Offset: 0x001AF3BE
		// (set) Token: 0x0600A1E1 RID: 41441 RVA: 0x001B11C6 File Offset: 0x001AF3C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint StageId
		{
			get
			{
				return this.stageId_;
			}
			set
			{
				this.stageId_ = value;
			}
		}

		// Token: 0x17002DD4 RID: 11732
		// (get) Token: 0x0600A1E2 RID: 41442 RVA: 0x001B11CF File Offset: 0x001AF3CF
		// (set) Token: 0x0600A1E3 RID: 41443 RVA: 0x001B11D7 File Offset: 0x001AF3D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Uid
		{
			get
			{
				return this.uid_;
			}
			set
			{
				this.uid_ = value;
			}
		}

		// Token: 0x17002DD5 RID: 11733
		// (get) Token: 0x0600A1E4 RID: 41444 RVA: 0x001B11E0 File Offset: 0x001AF3E0
		// (set) Token: 0x0600A1E5 RID: 41445 RVA: 0x001B11E8 File Offset: 0x001AF3E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string Nickname
		{
			get
			{
				return this.nickname_;
			}
			set
			{
				this.nickname_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x17002DD6 RID: 11734
		// (get) Token: 0x0600A1E6 RID: 41446 RVA: 0x001B11FB File Offset: 0x001AF3FB
		// (set) Token: 0x0600A1E7 RID: 41447 RVA: 0x001B1203 File Offset: 0x001AF403
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HeadIcon
		{
			get
			{
				return this.headIcon_;
			}
			set
			{
				this.headIcon_ = value;
			}
		}

		// Token: 0x17002DD7 RID: 11735
		// (get) Token: 0x0600A1E8 RID: 41448 RVA: 0x001B120C File Offset: 0x001AF40C
		// (set) Token: 0x0600A1E9 RID: 41449 RVA: 0x001B1214 File Offset: 0x001AF414
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string ReplayName
		{
			get
			{
				return this.replayName_;
			}
			set
			{
				this.replayName_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x17002DD8 RID: 11736
		// (get) Token: 0x0600A1EA RID: 41450 RVA: 0x001B1227 File Offset: 0x001AF427
		// (set) Token: 0x0600A1EB RID: 41451 RVA: 0x001B122F File Offset: 0x001AF42F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong CreateTime
		{
			get
			{
				return this.createTime_;
			}
			set
			{
				this.createTime_ = value;
			}
		}

		// Token: 0x17002DD9 RID: 11737
		// (get) Token: 0x0600A1EC RID: 41452 RVA: 0x001B1238 File Offset: 0x001AF438
		// (set) Token: 0x0600A1ED RID: 41453 RVA: 0x001B1240 File Offset: 0x001AF440
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GCPFDFINJFM
		{
			get
			{
				return this.gCPFDFINJFM_;
			}
			set
			{
				this.gCPFDFINJFM_ = value;
			}
		}

		// Token: 0x17002DDA RID: 11738
		// (get) Token: 0x0600A1EE RID: 41454 RVA: 0x001B1249 File Offset: 0x001AF449
		// (set) Token: 0x0600A1EF RID: 41455 RVA: 0x001B1251 File Offset: 0x001AF451
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KMEAPHPPMMN
		{
			get
			{
				return this.kMEAPHPPMMN_;
			}
			set
			{
				this.kMEAPHPPMMN_ = value;
			}
		}

		// Token: 0x0600A1F0 RID: 41456 RVA: 0x001B125A File Offset: 0x001AF45A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ReplayInfo);
		}

		// Token: 0x0600A1F1 RID: 41457 RVA: 0x001B1268 File Offset: 0x001AF468
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ReplayInfo other)
		{
			return other != null && (other == this || (this.AIMNHIOBLEF == other.AIMNHIOBLEF && this.ReplayType == other.ReplayType && this.StageId == other.StageId && this.Uid == other.Uid && !(this.Nickname != other.Nickname) && this.HeadIcon == other.HeadIcon && !(this.ReplayName != other.ReplayName) && this.CreateTime == other.CreateTime && this.GCPFDFINJFM == other.GCPFDFINJFM && this.KMEAPHPPMMN == other.KMEAPHPPMMN && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A1F2 RID: 41458 RVA: 0x001B133C File Offset: 0x001AF53C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.AIMNHIOBLEF != 0UL)
			{
				num ^= this.AIMNHIOBLEF.GetHashCode();
			}
			if (this.ReplayType != ReplayType.None)
			{
				num ^= this.ReplayType.GetHashCode();
			}
			if (this.StageId != 0U)
			{
				num ^= this.StageId.GetHashCode();
			}
			if (this.Uid != 0U)
			{
				num ^= this.Uid.GetHashCode();
			}
			if (this.Nickname.Length != 0)
			{
				num ^= this.Nickname.GetHashCode();
			}
			if (this.HeadIcon != 0U)
			{
				num ^= this.HeadIcon.GetHashCode();
			}
			if (this.ReplayName.Length != 0)
			{
				num ^= this.ReplayName.GetHashCode();
			}
			if (this.CreateTime != 0UL)
			{
				num ^= this.CreateTime.GetHashCode();
			}
			if (this.GCPFDFINJFM != 0U)
			{
				num ^= this.GCPFDFINJFM.GetHashCode();
			}
			if (this.KMEAPHPPMMN != 0U)
			{
				num ^= this.KMEAPHPPMMN.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A1F3 RID: 41459 RVA: 0x001B1466 File Offset: 0x001AF666
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A1F4 RID: 41460 RVA: 0x001B146E File Offset: 0x001AF66E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A1F5 RID: 41461 RVA: 0x001B1478 File Offset: 0x001AF678
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AIMNHIOBLEF != 0UL)
			{
				output.WriteRawTag(8);
				output.WriteUInt64(this.AIMNHIOBLEF);
			}
			if (this.ReplayType != ReplayType.None)
			{
				output.WriteRawTag(16);
				output.WriteEnum((int)this.ReplayType);
			}
			if (this.StageId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.StageId);
			}
			if (this.Uid != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Uid);
			}
			if (this.Nickname.Length != 0)
			{
				output.WriteRawTag(42);
				output.WriteString(this.Nickname);
			}
			if (this.HeadIcon != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.HeadIcon);
			}
			if (this.ReplayName.Length != 0)
			{
				output.WriteRawTag(58);
				output.WriteString(this.ReplayName);
			}
			if (this.CreateTime != 0UL)
			{
				output.WriteRawTag(64);
				output.WriteUInt64(this.CreateTime);
			}
			if (this.GCPFDFINJFM != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.GCPFDFINJFM);
			}
			if (this.KMEAPHPPMMN != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.KMEAPHPPMMN);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A1F6 RID: 41462 RVA: 0x001B15BC File Offset: 0x001AF7BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.AIMNHIOBLEF != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.AIMNHIOBLEF);
			}
			if (this.ReplayType != ReplayType.None)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.ReplayType);
			}
			if (this.StageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.StageId);
			}
			if (this.Uid != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Uid);
			}
			if (this.Nickname.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.Nickname);
			}
			if (this.HeadIcon != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HeadIcon);
			}
			if (this.ReplayName.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.ReplayName);
			}
			if (this.CreateTime != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.CreateTime);
			}
			if (this.GCPFDFINJFM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GCPFDFINJFM);
			}
			if (this.KMEAPHPPMMN != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KMEAPHPPMMN);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A1F7 RID: 41463 RVA: 0x001B16DC File Offset: 0x001AF8DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ReplayInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.AIMNHIOBLEF != 0UL)
			{
				this.AIMNHIOBLEF = other.AIMNHIOBLEF;
			}
			if (other.ReplayType != ReplayType.None)
			{
				this.ReplayType = other.ReplayType;
			}
			if (other.StageId != 0U)
			{
				this.StageId = other.StageId;
			}
			if (other.Uid != 0U)
			{
				this.Uid = other.Uid;
			}
			if (other.Nickname.Length != 0)
			{
				this.Nickname = other.Nickname;
			}
			if (other.HeadIcon != 0U)
			{
				this.HeadIcon = other.HeadIcon;
			}
			if (other.ReplayName.Length != 0)
			{
				this.ReplayName = other.ReplayName;
			}
			if (other.CreateTime != 0UL)
			{
				this.CreateTime = other.CreateTime;
			}
			if (other.GCPFDFINJFM != 0U)
			{
				this.GCPFDFINJFM = other.GCPFDFINJFM;
			}
			if (other.KMEAPHPPMMN != 0U)
			{
				this.KMEAPHPPMMN = other.KMEAPHPPMMN;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A1F8 RID: 41464 RVA: 0x001B17D6 File Offset: 0x001AF9D6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A1F9 RID: 41465 RVA: 0x001B17E0 File Offset: 0x001AF9E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 42U)
				{
					if (num <= 16U)
					{
						if (num == 8U)
						{
							this.AIMNHIOBLEF = input.ReadUInt64();
							continue;
						}
						if (num == 16U)
						{
							this.ReplayType = (ReplayType)input.ReadEnum();
							continue;
						}
					}
					else
					{
						if (num == 24U)
						{
							this.StageId = input.ReadUInt32();
							continue;
						}
						if (num == 32U)
						{
							this.Uid = input.ReadUInt32();
							continue;
						}
						if (num == 42U)
						{
							this.Nickname = input.ReadString();
							continue;
						}
					}
				}
				else if (num <= 58U)
				{
					if (num == 48U)
					{
						this.HeadIcon = input.ReadUInt32();
						continue;
					}
					if (num == 58U)
					{
						this.ReplayName = input.ReadString();
						continue;
					}
				}
				else
				{
					if (num == 64U)
					{
						this.CreateTime = input.ReadUInt64();
						continue;
					}
					if (num == 72U)
					{
						this.GCPFDFINJFM = input.ReadUInt32();
						continue;
					}
					if (num == 80U)
					{
						this.KMEAPHPPMMN = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04003E82 RID: 16002
		private static readonly MessageParser<ReplayInfo> _parser = new MessageParser<ReplayInfo>(() => new ReplayInfo());

		// Token: 0x04003E83 RID: 16003
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003E84 RID: 16004
		public const int AIMNHIOBLEFFieldNumber = 1;

		// Token: 0x04003E85 RID: 16005
		private ulong aIMNHIOBLEF_;

		// Token: 0x04003E86 RID: 16006
		public const int ReplayTypeFieldNumber = 2;

		// Token: 0x04003E87 RID: 16007
		private ReplayType replayType_;

		// Token: 0x04003E88 RID: 16008
		public const int StageIdFieldNumber = 3;

		// Token: 0x04003E89 RID: 16009
		private uint stageId_;

		// Token: 0x04003E8A RID: 16010
		public const int UidFieldNumber = 4;

		// Token: 0x04003E8B RID: 16011
		private uint uid_;

		// Token: 0x04003E8C RID: 16012
		public const int NicknameFieldNumber = 5;

		// Token: 0x04003E8D RID: 16013
		private string nickname_ = "";

		// Token: 0x04003E8E RID: 16014
		public const int HeadIconFieldNumber = 6;

		// Token: 0x04003E8F RID: 16015
		private uint headIcon_;

		// Token: 0x04003E90 RID: 16016
		public const int ReplayNameFieldNumber = 7;

		// Token: 0x04003E91 RID: 16017
		private string replayName_ = "";

		// Token: 0x04003E92 RID: 16018
		public const int CreateTimeFieldNumber = 8;

		// Token: 0x04003E93 RID: 16019
		private ulong createTime_;

		// Token: 0x04003E94 RID: 16020
		public const int GCPFDFINJFMFieldNumber = 9;

		// Token: 0x04003E95 RID: 16021
		private uint gCPFDFINJFM_;

		// Token: 0x04003E96 RID: 16022
		public const int KMEAPHPPMMNFieldNumber = 10;

		// Token: 0x04003E97 RID: 16023
		private uint kMEAPHPPMMN_;
	}
}
